/**
 * @param {Egg.Application} app - egg application
 */
module.exports = (app) => {
  const { router, controller } = app;
  router.get("/user/getUserInfo", controller.user.getUser);
  router.post("/system/login", controller.system.login);
  router.get("/system/logout", controller.system.logout);
};
